<template>
    <h2>用户借款信息项目</h2>
    <BorrowInfoContent v-slot="item">
        <a href="#" @click="UserBorrowInfo(item.BM_Id)">借款</a>
    </BorrowInfoContent>
</template>

<script setup lang="ts">
import BorrowInfoContent from './BorrowInfoContent.vue';
import { useRouter } from 'vue-router';

const router = useRouter();
const UserBorrowInfo = (BM_Id: number) => {
    
    router.push({
        path: 'AddUserBorrowMoney',
        query: {
            BM_Id: BM_Id
        }
    })
}


</script>
